*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,body{
  background-color: #f8f8fa;
}
.header{
  width: 10rem;
  height: 10rem;
  // background-color: red;

}
.outer-footer{
  display: flex;
  width: 10rem;
  height: 2.5067rem;
}
.footer{
  width: 10rem;
  height: 2.5067rem;
  position: fixed;
  z-index: 999;
  bottom: 0px;
  background-color: white;
  left: 0px;
  display: flex;
  align-items: center;
  padding: .2667rem;
  .left{
    display: flex;
    flex: 5;
    font-size: .4267rem;
    .star,.cat,.constum{
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-right: .5333rem;
    }
    .icon img{
      width: .6667rem;
      height: .6667rem;
    }
  }
  .right{
    flex: 4;
    color: white;
    background-image: linear-gradient(to right,#fc9e18,#fb631c);
    padding: .2667rem .5333rem;
    border-radius: 1.0667rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .5333rem;
    .right-btn{
    }
  }
}
.swiper {
  width: 10rem;
  height: 10rem;
  overflow: hidden;
}
.swiper-group {
  height: 10rem;
  display: flex;
  flex-wrap: wrap;
  transition: transform .5s;
}
.img {
  height: 10rem;
  width: 10rem;
  color:#fff;
}
// main
.main{
  padding: 10px;
  .main-title{
    background-color: white;
    font-size: .5333rem;
    font-weight: 600;
    padding: .3333rem .2667rem;
    border-radius: .1667rem;
    box-shadow:0 0 1px #cec7c7;
    .main-title-tags{
      font-size: .3267rem;
      font-weight: 400;
      margin-top: .4667rem;
      .main-title-tag{
        margin-right: .2667rem;
        padding: .1033rem .2667rem;
        border-radius: .1333rem;
      }
    }
    .main-text{
      color: #999999;
      font-weight: 300;
      font-size: .4rem;
      margin-top: 0.4333rem;
      margin-bottom: 0.4333rem;
    }
    .main-list{
      font-size: .4267rem;
      font-weight: 500;
      display: flex;
      overflow-x: scroll;
      background-color: #f8f8fa;
      border-radius: .2667rem;
      align-items: center;
      padding: .2667rem .2667rem;
      .main-list-item{
        display: flex;
        flex-direction: column;
        justify-content: end;
        align-content: space-evenly;
        flex: 0 0 auto;
        padding: 0rem .4rem;
        &:not(:last-child){
          border-right: 1px solid #e2e2e9;
        }
        .main-list-item-label{
          margin-bottom: .2667rem;
        }
        .main-list-item-value{
          color: #999999;
        }
      }
    }
  }
  
  .main-message{
    background-color: white;
    margin-top: .4333rem;
    padding: 10px;
    border-radius: .3rem;
    box-shadow:0 0 1px #cec7c7;
    .main-message-address{
      display: flex;
      justify-content: start;
      align-items: start;
      &:not(:last-child){
        margin-bottom: .367rem;
      }
      .main-message-address-left{
        width: 1.5333rem;
        color: #a9a9a9;
        font-size: .4267rem;
        margin-right: .4667rem;
      }
      .main-message-address-right{
         .main-message-label{
           font-size: .4267rem;
           display: flex;
           color: #999999;
         }
         .main-message-value{
          margin-top: .1333rem;
          font-size: 16px;
          display: -webkit-box;
          -webkit-box-orient: vertical;
          overflow: hidden;
          -webkit-line-clamp: 1;//行数
          color: #999999;
         }
      }
      .actitives-tags{
        width: 100%;
        overflow-x: scroll;
        display: flex;
        .actitives-tag{
          border: .0267rem solid red;
          border-radius: .1333rem;
          flex: 0 0 auto;
          padding: .1333rem;
          font-size: .35rem;
          color: red;
          &:not(:last-child){
            margin-right: .2667rem;
          }
        }
      }
      .actitives-text{
        font-size: .4267rem;
        margin-top: .2667rem;
        display: flex;

      }
    }
  }

  .main-good-change{
    background-color: white;
    margin-top: .4333rem;
    margin-bottom: .4333rem;
    padding: 10px;
    border-radius: .3rem;
    box-shadow:0 0 1px #cec7c7;
    .goods-num{
      display: flex;
      justify-content: space-between;
      font-size: .5267rem;

      .goods-num-message{
        display: flex;
        align-items: center;
        .nums{
          display: flex;
          align-items: center;
          margin-left: .2667rem;
          margin-right: .2667rem;
        }
        .goods-reudce{
          width: 1.0333rem;
          height: 1.0333rem;
          background-color: white;
          border: .0267rem solid #fdd5c4;
          border-radius: 50%;
          display: flex;
          justify-content: center;
          align-items: center;
          color: #f87036;
        }
        .goods-add{
          width: 1.0333rem;
          height: 1.0333rem;
          background-image: linear-gradient(to right,#fc9e18,#fb631c);
          border: .0267rem solid #fdd5c4;
          border-radius: 50%;
          display: flex;
          justify-content: center;
          align-items: center;
          color: white;
        }
      }
    }
    .goods-comstum{
      padding: .2667rem;
      border-radius: .2667rem;
      background-color: #f8f8fa;
      .goods-comstum-item{
        display: flex;
        font-size: .4267rem;
        align-items: center;
        justify-content: space-between;
        &:not(:last-child){
          margin-bottom: .2667rem;
        }
        .goods-comstum-btn{
        height: 0.9333rem;
        width: 2.0333rem;
        color: white;
        font-weight: 1000;
        font-family: "宋体";
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: .5rem;
        background-image: linear-gradient(to right,#46cd3a,#3db916);
        }
      }
    }
  }
  .goods-number-one{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    margin-top: .4333rem;
    margin-bottom: .4333rem;
    padding: 10px;
    border-radius: .3rem;
    box-shadow:0 0 1px #cec7c7;
    font-size: .38rem;
  }
  .tabs-good{
    background-color: white;
    margin-top: .4333rem;
    margin-bottom: .4333rem;
    padding: 10px;
    border-radius: .3rem;
    box-shadow:0 0 1px #cec7c7;
  }
  .tabs{
    display: flex;
    font-size: .5333rem;
    .tab{
      &:not(:last-child){
        margin-right: .5333rem;
      }
    }
    .active{
      position: relative;
      &::after{
        width: .9rem;
        height: 0.15rem;
        border-radius: 0.1rem;
        content: "";
        display: block;
        background-color: #fb631c;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin-top: .1333rem;
      }
    }
  }
  .goods-add-pay{
    margin-top: 0.8333rem;
    display: flex;
    flex: 0 0 auto;
    overflow-x: scroll;
    .goods-pay-item{
      &:not(:last-child){
        margin-right: .4rem;
      }
      img{
        width: 3.6667rem;height: 3.6667rem;
        position: relative;
        &::after{
          position: absolute;
          content: "买过";
          // display: block !important;
          padding: .2667rem;
          width: 0.784rem;
          height: 0.22rem;
          font-size: .32rem;
          border-radius: .2rem;
          display: flex;
          align-items: center;
          justify-content: center;
          background-color: #fc9e18;
          color: white;
          bottom: .3333rem;
          left: 0.1rem;
          opacity: 0.8;
        }
        &::before{
          position: absolute;
          content: "易解冻";
          display: block !important;
          padding: .2667rem;
          width: 0.984rem;
          height: 0.22rem;
          font-size: .32rem;
          border-radius: .2rem;
          display: flex;
          align-items: center;
          justify-content: center;
          background-color: #42aefc;
          color: white;
          bottom: .3333rem;
          right: 0.1rem;
          opacity: 0.8;
        }
      }
      .price{
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
      .icon-cart{
        display: flex;
        align-items: center;
        justify-content: center;
        width: .8333rem;
        height: .8333rem;
        border-radius: 50%;
        background-image: linear-gradient(to right,#fc9e18,#fb631c);
        position: relative;
          &::after{
            content:"0";
            font-size: .32rem;
            display: inline-block;
            position: absolute;
            background-color: red;
            color: white;
            width: 0.8rem;
            height: 0.6rem;
            border-radius: 0.6rem;
            line-height: 0.6rem;
            top: -0.4333rem;
            right: -0.4rem;
            text-align: center;
            border: .0933rem solid white;
        }
      }
    }
  }
}
.to-top{
  width: 1.8333rem;
  height: 1.8333rem;
  position: fixed;
  right: .5333rem;
  bottom: 2.7733rem;
  background-color: #f87036;
  color: white;
  display: flex;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}